package com.block.datapush.service.apipush.utils;

import cn.hutool.core.util.StrUtil;
import com.block.common.enums.BaseTypeInfoEnum;

public class SuZhou {

    public static String getCar(String car){
        if (StrUtil.equals(car, BaseTypeInfoEnum.Car.car002.getValue())){
            return "车：有";
        }
        return "车：无";
    }

    public static String getHouse(String house){
        if (StrUtil.equals(house, BaseTypeInfoEnum.House.hu002.getValue())){
            return "房：有";
        }
        return "房：无";
    }

    public static String getYuqi(String yuqi) {
        if (StrUtil.equals(yuqi, BaseTypeInfoEnum.Yuqi.yq002.getValue())){
            return "逾期：无";
        }
        return "逾期：有";
    }

    public static String getShebao(String socialInsurance) {
        if (StrUtil.equals(socialInsurance, BaseTypeInfoEnum.Shebao.sb001.getValue())){
            return "社保：无";
        }
        return "社保：有";
    }

    public static Object getBaodan(String baodan) {
        if (StrUtil.equals(baodan, BaseTypeInfoEnum.Baoxian.bx001.getValue())){
            return "保险：无";
        }
        return "保险：有";
    }

    public static String getZhima(String zhima) {
        if (StrUtil.equals(zhima, BaseTypeInfoEnum.Zhima.zm002.getValue())){
            return "芝麻分：599";
        }else if (StrUtil.equals(zhima, BaseTypeInfoEnum.Zhima.zm003.getValue())){
            return "芝麻分：649";
        }else if (StrUtil.equals(zhima, BaseTypeInfoEnum.Zhima.zm004.getValue())){
            return "芝麻分：699";
        }else if (StrUtil.equals(zhima, BaseTypeInfoEnum.Zhima.zm005.getValue())){
            return "芝麻分：750";
        }
        return "芝麻分：无";
    }

    public static Object getJd(String baitiao) {
        if (StrUtil.equals(baitiao, BaseTypeInfoEnum.Baitiao.bt002.getValue())){
            return "白条：5000以上";
        }else if (StrUtil.equals(baitiao, BaseTypeInfoEnum.Baitiao.bt003.getValue())){
            return "白条：5000以上";
        }else if (StrUtil.equals(baitiao, BaseTypeInfoEnum.Baitiao.bt004.getValue())){
            return "白条：5000以上";
        }
        return "白条：无";
    }

    public static Object getHuabei(String huabei) {
        if (StrUtil.equals(huabei, BaseTypeInfoEnum.Huabei.hb002.getValue())){
            return "花呗：5000以上";
        }else if (StrUtil.equals(huabei, BaseTypeInfoEnum.Huabei.hb003.getValue())){
            return "花呗：5000以上";
        }else if (StrUtil.equals(huabei, BaseTypeInfoEnum.Huabei.hb004.getValue())){
            return "花呗：5000以上";
        }
        return "花呗：无";
    }

    public static String getGjj(String gjj) {
        if (StrUtil.equals(gjj, BaseTypeInfoEnum.Gjj.gjj001.getValue())){
            return "公积金：无";
        }
        return "公积金：有";
    }
}
